package com.byb.server.service.mapper;

import com.byb.server.domain.*;
import com.byb.server.service.dto.CountryStrichenDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity CountryStrichen and its DTO CountryStrichenDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface CountryStrichenMapper extends EntityMapper <CountryStrichenDTO, CountryStrichen> {
    
    
    default CountryStrichen fromId(Long id) {
        if (id == null) {
            return null;
        }
        CountryStrichen countryStrichen = new CountryStrichen();
        countryStrichen.setId(id);
        return countryStrichen;
    }
}
